﻿using static System.Console;
using TestEnum;

Title = "C#中的枚举";


WriteLine(Color.Red);


int red = (int)Color.Red;

WriteLine(red);


Color color;
Enum.TryParse("Red", out color);

WriteLine(color);




ReadKey();